

package com.kimo.shop.delivery.comment.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.kimo.shop.bean.app.dto.MyOrderDto;
import com.kimo.shop.bean.app.dto.OrderSelfStationDto;
import com.kimo.shop.delivery.comment.model.OrderSelfStation;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 自提订单信息表
 *
 * @author kimo-taozhouchuan
 * @date 2020-04-23 15:18:29
 */
public interface OrderSelfStationMapper extends BaseMapper<OrderSelfStation> {

    String getNewInfo(@Param("shopId") Long shopId);

    MyOrderDto getOrderByStationCode(@Param("stationId") Long stationId, @Param("shopId") Long shopId, @Param("code") String code);

    List<OrderSelfStationDto> getUserStation(@Param("userId") String userId);

    List<OrderSelfStation> getStationUserInfo(@Param("userId") String userId);

    OrderSelfStationDto getStationByOrderNumber(@Param("orderNumber") String orderNumber);
}
